<template>
  <div id="caseViolette">
		<div id="cercle">
			<div id="cercleCache"></div>
		</div>
		<div id="load">
			<p>loading</p>
		</div>
		<div id="point"></div>
	</div>
</template>
<script>
export default {
}
</script>
<style>
#caseViolette {
  /*background-color: #fff;*/
  height: 140px;
  width: 150px;
  padding-top: 10px;
  position: relative;
  margin: 10% auto;
}
#caseViolette #load {
  color: #20a0ff;
  font-family: calibri;
  text-align: center;
  margin-top: 102px;
  margin-right: 10px;
  font-size: 14px;
}

/****DEBUT CASE 5****/
#caseVerte #case5 {
  height: 10px;
  width: 10px;
  background-color: #fbfbfb;
  animation: case3 1.5s infinite;
  -webkit-animation: case3 1.5s infinite;
}

#caseBleu #case5 {
  height: 10px;
  width: 10px;
  background-color: #0086a6;
  animation: case3 1.5s infinite;
  -webkit-animation: case3 1.5s infinite;
}

@-webkit-keyframes case5 {
  0% {width: 0%;}
  50% {width: 105px;}
  100% {width: 0%;}
}

@keyframes case5 {
  0% {width: 0%;}
  50% {width: 105px;}
  100% {width: 0%;}
}
/****FIN CASE 5****/


/****DEBUT CERCLE****/
#cercle {
  height: 50px;
  width: 50px;
  position: absolute;
  top: 45px;
  left: 50px;
  border-radius: 50%;
  background: linear-gradient(rgba(32,160,255,1),rgba(32,160,255,0.3));
  animation: turnCercle 10s infinite;
  -webkit-animation: turnCercle 10s infinite;
  animation-timing-function: ease-in-out;
  -webkit-animation-timing-function: ease-in-out;
}

@-webkit-keyframes turnCercle {
  0% {-webkit-transform: rotate(0deg);}
  100% {-webkit-transform: rotate(10080deg);}
}

@keyframes turnCercle {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(10080deg);}
}

#cercleCache {
  height: 40px;
  width: 40px;
  position: absolute;
  border-radius: 50%;
  background-color: #fff;
  z-index: 5;
  margin: 5px;
}
/****FIN CERCLE****/

/****DEBUT POINT****/
#point {
  height: 2px;
  width: 2px;
  position: relative;
  top: -6px;
  left: 96px;
  border-radius: 50%;
  background-color: #20a0ff;
  animation: point 1.5s infinite;
  -webkit-animation: point 1.5s infinite;
  animation-timing-function: linear;
  -webkit-animation-timing-function: linear;
}

@-webkit-keyframes point {
  0% {left: 96px; opacity: 0;}
  5% {left: 96px; opacity: 1;}
  15% {left: 96px; opacity: 0;}
  30% {left: 99px; opacity: 0;}
  45% {left: 99px; opacity: 1;}
  60% {left: 99px; opacity: 0;}
  75% {left: 102px; opacity: 0;}
  90% {left: 102px; opacity: 1;}
  100% {left: 102px; opacity: 0;}
}

@keyframes point {
  0% {left: 96px; opacity: 0;}
  5% {left: 96px; opacity: 1;}
  15% {left: 96px; opacity: 0;}
  30% {left: 99px; opacity: 0;}
  45% {left: 99px; opacity: 1;}
  60% {left: 99px; opacity: 0;}
  75% {left: 102px; opacity: 0;}
  90% {left: 102px; opacity: 1;}
  100% {left: 102px; opacity: 0;}
}
</style>
